import requests from "@/utils/request";

export function getOptionsByUrl(url: string, extra?: Requests.ExtraConfig) {
  return requests<Custom.TreeData>({
    url: url,
    method: "get",
    extra,
  });
}
